An Efficient Slicing Approach for Test Case Generation

نویسندگان

  • Durvasula V. L. N. Somayajulu
  • Ajay Kumar Bothra
  • Prashant Kumar
  • Pratyush Pratyush
چکیده

Automated test data generation is a challenging task in software engineering research. Despite all the advancement, software testing continues to be the most time and resource consuming aspect of software development. One aspect of Automated Testing is generation of test data for each predicate involved in the Unified Modeling Language (UML) diagram of the modeled software. The test data generation also needs to consider the dependencies of each predicate on other constraints in the model. In this paper, a new algorithm called Slicing_for_Testcase_Generation (STCG), based on slicing, is proposed for automatic test data generation. Our approach is based on construction of sets by considering the program dependencies which is more efficient compared to the traditional path approach. Depending upon the program dependencies for a given predicate, we obtain a slice for it i.e., for a given model and predicate our approach efficiently generates test cases by considering only the relevant constraints present in the model. The implementation of our approach is presented and experiments were carried out for various UML diagrams. Our experimental results show that the proposed approach is an efficient one than the traditional path approach.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

GA Based Test Case Generation Approach for Formation of Efficient Set of Dynamic Slices

-Automated test case generation is an efficient approach for software testing. Slicing of program provides ease to testability and enhances debugging capacity. To generate the dynamic slice, slicing criterion is required in which the input data parameter is the essential component. Most of the research work focuses on deriving the input by random consideration but it simply takes a longest peri...

متن کامل

Test Case Design Using Conditioned Slicing of Activity Diagram

For testing software, test case generation is the most important part. The automation of specification based test case generation needs formal or semi formal specification. As a semiformal modeling, UML is widely used to describe analysis and design specification by both academia and industry. Thus UML models become the sources of test case generation naturally. This paper proposes a method to ...

متن کامل

SNITH: A Heuristic Search-based Interrupt Testing Tool for Wireless Sensor Nodes

Software defects in wireless sensor networks caused by asynchronous hardware interrupts that are generated by sensors are exceedingly difficult to debug. SNITH presents a solution to the debugging problem that relies on control flow graphs, program slicing, and heuristically generated test data. The heuristic search-based method is key to the success of the study as it provides intelligence to ...

متن کامل

Static Program Slicing- An Efficient Approach for Prioritization of Test Cases for Regression Testing

Regression Testing is performed after modification of the program or software; it classified the existing test cases into re-used test cases and affected test cases after modification of the code. Test case prioritization is an approach of arranging the existing test cases in manner that most affected test cases (that generated maximum number of faults) test first after the other one. There are...

متن کامل

Static Program Slicing- An Efficient Approach for Prioritization of Test Cases for Regression Testing

Regression Testing is performed after modification of the program or software; it classified the existing test cases into re-used test cases and affected test cases after modification of the code. Test case prioritization is an approach of arranging the existing test cases in manner that most affected test cases (that generated maximum number of faults) test first after the other one. There are...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006